<template>
  <div :style="{ height: px2rpx(props.res.data.height) + 'rpx', backgroundColor: props.res.data.background, }">
  </div>
</template>

<script setup lang="ts">
import { px2rpx } from './px2rpx';
const props = defineProps(['res'])
</script>

<style scoped></style>
